package io.renren.modules.police.service;

import io.renren.common.page.PageData;
import io.renren.common.service.CrudService;
import io.renren.modules.police.dto.PoliceNewsDTO;
import io.renren.modules.police.entity.PoliceNewsEntity;

import java.util.List;
import java.util.Map;

/**
 * 新闻资讯信息表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2023-09-02
 */
public interface PoliceNewsService extends CrudService<PoliceNewsEntity, PoliceNewsDTO> {

    PageData<PoliceNewsDTO> getPage(Map<String, Object> params);

    List<PoliceNewsDTO> getAllNews(Map<String, Object> params);
}